package cmcciot.onenet.nbapi.sdk.entity;

import cmcciot.onenet.nbapi.sdk.config.Config;

/**
 * Created by zhuocongbin
 * date 2018/3/15
 */
public class Query extends CommonEntity{

    /**
     * @param deviceId 设备id
     */
    public Query(String deviceId) {
        this.deviceId = deviceId;
    }
    @Override
    public String toUrl() {
        return Config.getDomainName() + "/devices/" + this.deviceId;
    }
}
